
const path = require('path')
const files  = require.context('./components', true, /\.vue$/);
files.keys().forEach(key => {
    const name = path.basename(key, '.vue')
    const mode = files(key).default || files(key)
    Vue.component(name,mode)
})
